<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%
	String path = request.getContextPath();
%>
<link href="<%=path%>/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/newstyle.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/common.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/JavaScript">
function dosubmit(startPage){
	document.forms[0].step.value = startPage;
    document.forms[0].submit();
}
</script>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="38" background="<%=path%>/images/2007/subtitle_bg.gif">　　<span class="subTitleWhite">子账户转账</span></td>
  </tr>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="<%=path%>/images/new/page-gray.gif" width="780" height="15" /></td>
  </tr>
</table>

<table width="780" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#DDDFDE">
  <tr>
    <td colspan="2" bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td>&nbsp;</td>
        <td width="37" align="center"><img src="<%=path%>/images/2007/1_on.gif" width="37" height="36" /></td>
        <td width="95" class="fontgray14"><span class="fontblue14">填写转账信息</span></td>
        <td width="26" class="fontblue14"><img src="<%=path%>/images/2007/arrow.gif" width="17" height="20" /></td>
        <td width="37"><img src="<%=path%>/images/2007/2_on.gif" width="37" height="36" /></td>
        <td width="88" class="fontblue14">转账结果</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="2" bgcolor="#FFFFFF"><br />
    <table width="710" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#f9e277" style="margin:10px 0;">
      <tr>
        <td bgcolor="#fffdf5"><table width="100%" border="0" cellpadding="0" cellspacing="5">
          <tr>
            <td width="4%" valign="top"><a href="#"><img src="<%=path%>/images/2007/success_icon.gif" width="60" height="56" border="0" align="absmiddle" /></a></td>
              <td width="96%" class="subTitleRed">您的子账户转账成功！</td>
          </tr>
        </table></td>
        </tr>
    </table></td>
  </tr>
<html:form action="subAccountTransfer" method="post">
  <html:hidden property="step"/>
  <tr>
    <td width="23%" background="<%=path%>/images/2007/bg_table.gif" bgcolor="#FFFFFF" class="font_blue">转出账户：</td>
    <td width="77%" bgcolor="#FFFFFF"><bean:write name="transaction" property="debit.accountName" /></td>
  </tr>
  <tr>
    <td background="<%=path%>/images/2007/bg_table.gif" bgcolor="#FFFFFF" class="font_blue">转入账户：</td>
    <td bgcolor="#FFFFFF"><bean:write name="transaction" property="credit.accountName" /></td>
  </tr>
  <tr>
    <td background="<%=path%>/images/2007/bg_table.gif" bgcolor="#FFFFFF" class="font_blue">转账金额：</td>
    <td bgcolor="#FFFFFF"><span class="subTitleRed"><ad:FormatPrase><bean:write name="transaction" property="amount" /></ad:FormatPrase></span> 元 　<a href="<%=path%>/page/myspace/subBalance.do" class="menuTextBlue">查看账户明细</a></td>
  </tr>
</html:form>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="41" align="right" background="<%=path%>/images/2007/page-gray.gif">
      <input type="button" name="return" value="返 回" class="buttonStyle-short" onclick="dosubmit(0);" />
      &nbsp;&nbsp;&nbsp;&nbsp;
    </td>
  </tr>
</table>